﻿using Jay.Workflow.WebApi.Common.Enums;
using Jay.Workflow.WebApi.Common.Models.Base;
using Jay.Workflow.WebApi.Model.Enums.Workflow;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Jay.Workflow.WebApi.Model.Dtos.Request.Workflow.Workflow
{
    public class UpdateWorkflowReq:RequestDto
    {
        /// <summary>
        /// 流程名称
        /// </summary>
        public string FlowName { get; set; } = string.Empty;

        /// <summary>
        /// 流程内容
        /// </summary>
        public string? FlowContent { get; set; }

        /// <summary>
        /// 流程版本
        /// </summary>
        public int FlowVersion { get; set; } = 1;

        /// <summary>
        /// 状态
        /// </summary>
        public EnableDisableEnum Status { get; set; } = EnableDisableEnum.Enable;

        /// <summary>
        /// 备注
        /// </summary>
        public string? Remark { get; set; }

        /// <summary>
        /// 分类id
        /// </summary>
        public Guid CategoryId { get; set; }

        /// <summary>
        /// 表单id
        /// </summary>
        public Guid FormId { get; set; }
    }
}
